/*
* ////////////////////////////////////////////////
*
* 开发者：AZPEP
* 友情链接：
*	-	B站：		零分的考卷			https://space.bilibili.com/257391258
*	-	Github：	AZPEP-BiliBili		https://github.com/AZPEP-BiliBili
*	-	Gitee：		AZPEP_BiliBili		https://gitee.com/AZPEP_BiliBili
*
* CopyRight AZPEP
*
* -------------------------------------------------
* 文件名称：SimpleDiskPartAPI.h
* 描述：简单DiskPart交互模块，使用C#+NativeAOT编写
*/

#pragma once

#include <Windows.h>

EXTERN_C{
	typedef bool(AstDiskPart_DeleteVolume_Func)(CHAR);
	typedef bool(AstDiskPart_ExtendVolume_Func)(CHAR);
	typedef bool(AstDiskPart_ShrinkVolume_Func)(CHAR, UINT);
	typedef bool(AstDiskPart_CreateVolume_Func)(long, CHAR, UINT);

	__declspec(dllimport) AstDiskPart_DeleteVolume_Func AstDiskPart_DeleteVolume;
	__declspec(dllimport) AstDiskPart_ExtendVolume_Func AstDiskPart_ExtendVolume;
	__declspec(dllimport) AstDiskPart_ShrinkVolume_Func AstDiskPart_ShrinkVolume;
	__declspec(dllimport) AstDiskPart_CreateVolume_Func AstDiskPart_CreateVolume;
}